package com.aat.dxfy.lucene.bean;

import java.io.Serializable;

public class Article implements Serializable {
	private static final long serialVersionUID = -5458914251628569082L;
	private String title;
	private String content;
	private String tag;
	private int TotalHits; // 命中率
	private int TotalTime; // 花费时间

	public Article() {
		super();
	}

	public Article(String title, String content, String tag) {
		super();
		this.title = title;
		this.content = content;
		this.tag = tag;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public int getTotalHits() {
		return TotalHits;
	}

	public void setTotalHits(int totalHits) {
		TotalHits = totalHits;
	}

	public int getTotalTime() {
		return TotalTime;
	}

	public void setTotalTime(int totalTime) {
		TotalTime = totalTime;
	}

	@Override
	public String toString() {
		return "Article [title=" + title + ", content=" + content + ", tag=" + tag + ", TotalHits=" + TotalHits
				+ ", TotalTime=" + TotalTime + "]";
	}

}
